package com.homeproject.trailservice.configuration;

import com.homeproject.trailservice.service.HelloService;
import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.context.annotation.Configuration;

import javax.ws.rs.ApplicationPath;

@Configuration
@ApplicationPath("trailservice/*")
public class TrailserviceApplicationConfig extends ResourceConfig {
    public TrailserviceApplicationConfig(){
        register(HelloService.class);
    }
}
